﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ajayumi.develop.win32.Transport.Utils
{
    /// <summary>
    /// 版本号格式化类
    /// Author  : 黄乙冬
    /// Date    : 2011-08-31
    /// </summary>
    public class VersionFormatter
    {
        public static int ToInt(string version)
        {
            int result = 0;
            version = version.Replace(".", string.Empty);
            result = Int32.Parse(version);
            return result;
        }
    }
}
